package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.query.StatementQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author WaveHi
 * @Date 14/11/2021 下午 4:24
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public interface StatementService extends IService<Statement> {
    TablePageInfo<Statement> getPartOfStatements(StatementQuery statementQuery);

    TablePageInfo<Statement> getPartOfStatements(Integer pageNo, Integer pageSize, StatementQuery statementQuery);

    Boolean add(Statement statement);

    Boolean update(Statement statement);

    Statement getStatement(Long id);

    TablePageInfo<Statement> getAllStatements();

    Boolean delete(Long[] ids);
}
